    public class javademo {
        public static void main(String[] args) {
            int a = 10;
            System.out.printf("%d\n", a << 1);
        }



        public static void main7(String[] args) {
            System.out.println(10 > 20 && 10 / 0 == 0);
            System.out.println(10 <20 || 10 / 0 == 0);
        }



        public static void main6(String[] args) {
            int a=1;
            int b=1;
            System.out.println("表达式(a++)="+(a++));
            System.out.println("表达式(++b)="+(++b));
            System.out.println("a="+a);
            System.out.println("b="+b);
        }


        public static void main5(String[] args) {
            int a=3;
            a+=2;
            System.out.println("(a+=2)="+a);
        }



        public static void main4(String[] args) {
            int a=6;
            double b=2.0;
            System.out.println("a+b="+(a+b));
            System.out.println("a*b="+(a*b));
            System.out.println("a/b="+(a/b));
            System.out.println("a%b="+(a%b));
        }


        public static void main3(String[] args) {
            double a=11.0;
            double b=2.0;
            System.out.println("a%b="+(a%b));
        }


        public static void main2(String[] args) {
            int a=3;
            int b=2;
            System.out.println("a/b="+(3/2));
        }


        public static void main1(String[] args) {
            int a=10;
            int b=3;
            System.out.println("a+b="+(a+b));
            System.out.println("a-b="+(a+b));
            System.out.println("a*b="+(a+b));
            System.out.println("a/b="+(a+b));
            System.out.println("a%b="+(a+b));
        }
    }


